public class CORDemo {

    public static void main(String[] args) {
        Manager director = new Director();
        Manager branchManager = new BranchManager(director);
        Manager projectManager = new ProjectManager(branchManager);

        projectManager.increaseSalary(200);
        projectManager.increaseSalary(300);
        projectManager.increaseSalary(800);
        projectManager.increaseSalary(1500);
    }
}
